import request from '@/utils/request'

class APINotice {
    /** 搜索 */
    static getNoticeList() {
        return request<any>('/getNoticeList', {
            method: 'POST'
        })
    }

    static getNoticeTitle(type: any) {
        return request<any>('/getNoticeTitle', {
            method: 'POST',
            body: { type }
        })
    }
}

export default APINotice
